const crawler = require('../../libs/crawler'),
      { crawlerConf } = require('../../config/config');

crawler({

  url: crawlerConf.url.aboutUs,  //修改
  callback () {
    const $ = window.$,
          $wrapper = $('.agency-about');  //修改

    const data = {
      aid: 1,
      posterImgUrl: $wrapper.find('.about-banner-pic0').css('background-image').match(/\"(.+?)\"/)[1],
      title: $wrapper.find('.about-agency-propagate').text(),
      name: $wrapper.find('.about-agency-name').text(),
      intro: $wrapper.find('.about-agency-intr').text(),
      posterImgKey: ''
    }

    return data;
  }

})